package com.ruoyi.api.user.response;

import java.math.BigDecimal;

public class StepListResponseVo {
	
	private static final long serialVersionUID = 1L;
	
	/** 日期  */
	private String date;
	
	/** 步数*/
	private Integer step;
	
	/** 距离 */
	private String totalKm;

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Integer getStep() {
		return step;
	}

	public void setStep(Integer step) {
		this.step = step;
		setTotalKm(step);
	}

	public String getTotalKm() {
		return totalKm;
	}

	public void setTotalKm(Integer step) {
		BigDecimal b1 = new BigDecimal("0.4877");
		BigDecimal b2 = new BigDecimal(step);
		BigDecimal b5 = b1.multiply(b2);
		this.totalKm = b5.toString();
	}
	
}
